FROM ubuntu:16.04
MAINTAINER hutong
ADD  Python-3.6.10.tar /opt
ADD  sources.list /etc/apt/sources.list
RUN  apt-get update && apt-get install -y 
RUN  apt-get install gcc -y && apt-get install make -y \
        && apt-get install vim -y && apt-get install openssl -y \
        && apt-get install libssl-dev -y && apt-get install python3-pip -y
RUN  ./opt/Python-3.6.10/configure --prefix=/usr/local/python3.6.10 \
        && make && make install
